package com.notary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_notary_purpose")
@ApiModel(value = "NotaryPurpose对象", description = "公证用途")
public class NotaryPurpose implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公证用途id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "公证处id")
    private String officeId;

    @ApiModelProperty(value = "公证用途")
    private String name;

}
